#!/bin/bash
# 维护：kinqin (kinqin.pan@qq.com)

flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-modify --user flathub --url=https://mirror.sjtu.edu.cn/flathub
sed -i 's/.*url-is-set=.*/url-is-set=true/g' ~/.local/share/flatpak/repo/config
